 <!-- DANG NHAP -->

    <div class='head_nav'><span class="icon-picture"></span> Thông Tin Cá Nhân</div>


<table class="table ">
 <tr>
 	<Td><b>Username</b></Td>
    <td><?php echo $data['user']['username']?></td>
 </tr>
  <tr>
 	<Td><b>Email</b></Td>
    <td><?php echo $data['user']['email']?></td>
 </tr>
   <tr>
 	<Td><b>Tên Hiển Thị</b></Td>
    <td><?php echo $data['user']['name']?></td>
 </tr>
    <tr>
 	<Td><b>Hình Đại Diện</b></Td>
    <td><?php 
	  if($_SESSION['user']['avatar']!=""){
                
					  ?>
                      <img src="<?php echo $_SESSION['user']['avatar'] ?>" class="img-rounded img-responsive" />
                      <?php
 		   }else
			if($_SESSION['user']['facebook']==1){
			
              $avatar_link="https://graph.facebook.com/".$_SESSION['user']['facebook_id']."/picture";
			  ?>
               <img src="<?php echo $avatar_link?>" class="img-rounded img-responsive" />
              <?php
           
			}
	
	?></td>
 </tr>
    <tr>
 	<Td><b>Đăng Ký</b></Td>
    <td><?php echo time_ago($data['user']['date_registered'])?></td>
 </tr>
     <tr>
 	<Td><b>Đăng Nhập gần nhất</b></Td>
    <td><?php echo time_ago($data['user']['date_login'])?></td>
 </tr>
</table>
  

  <!-- DOI MAT KHAU -->
 